﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Gantt
{
    public partial class CalendarDay : General
    {
        public CalendarDay() 
        {
            this.CreateOn = DateTime.Now;
        }
        public override int Id { get; set; }
        public System.DateTime CreateOn { get; set; }
        public string CreateBy { get; set; }
        public int CalendarIdRaw { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public Nullable<System.DateTime> Date { get; set; }
        public string AvailabilityRaw { get; set; }
        public Nullable<int> Weekday { get; set; }
        public Nullable<System.DateTime> OverrideStartDate { get; set; }
        public Nullable<System.DateTime> OverrideEndDate { get; set; }
        public Nullable<byte> IsWorkingDayRaw { get; set; }
        public string Cls { get; set; }

        [ForeignKey("CalendarIdRaw")]
        public virtual Calendar Calendar { get; set; }
    }
}
